package cn.jlkj.csmall.product1901.teacher.controller;


import cn.jlkj.csmall.product1901.teacher.pojo.dto.AlbumAddNewDTO;
import cn.jlkj.csmall.product1901.teacher.service.IAlbumService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/album")
public class AlbumController {



    @Autowired
    private IAlbumService albumService;

    @RequestMapping("/add-new")
    public void addNew(AlbumAddNewDTO albumAddNewDTO){
        albumService.addNew(albumAddNewDTO);

    }
}
